package com.tuanbiao.keyevent;

import com.tuanbiao.base.action.HandlerAction;
import com.tuanbiao.base.action.ToastAction;
import com.tuanbiao.keyevent.listener.OnBlastKeyDownListener;
import com.tuanbiao.keyevent.listener.OnBlastNettedKeyDownListener;
import com.tuanbiao.keyevent.listener.OnKeyDownListener;
import com.tuanbiao.keyevent.listener.OnLoginKeyDownListener;
import com.tuanbiao.keyevent.listener.OnSettingKeyDownListener;

import java.util.List;

/**
 * @author abiao
 * @date 2022/6/6 15:20
 * @description:
 */
public interface KeyEventStrategy extends HandlerAction, ToastAction {
    int CLICK_INTERVAL = 3000;
    int FAST_CLICK_INTERVAL = 500;

    String getNettedNoteSuccess();

    String getNettedNoteFailed();

    String getChargeNoteSuccess();

    String getChargeNoteFailed();

    String getChargeNoteFailed(String msg);

    String getBlastNoteSuccess();

    String getBlastNoteFailed();

    String getBlastNoteFailed(String msg);

    List<Integer> getScanModeKeys();

    void checkLoginKeyDown(int keyCode, OnLoginKeyDownListener listener);

    void checkBlastKeyDown(int keyCode, OnBlastKeyDownListener listener);

    void checkBlastNettedKeyDown(int keyCode, OnBlastNettedKeyDownListener listener);

    void checkSettingKeyDown(int keyCode, OnSettingKeyDownListener listener);

    void checkUploadDataKeyDown(int keyCode, OnKeyDownListener listener);

    void checkUploadDataDetailsKeyDown(int keyCode, OnKeyDownListener listener);

    void aboutKeyDown(int keyCode, OnKeyDownListener listener);


}
